i=0
while True:
    i+=1
    with open(f'{i}test.txt','w',encoding="utf-8") as file:
        file.write('放假！！！！！！！！！！元旦 过年')
        file.flush()